package com.iocup.keybastion.authorize.decision;

import lombok.Getter;
import lombok.Setter;

/**
 * basic认证的相关配置
 * @author xyjxust
 * @create 2022/2/28 17:29
 **/
@Setter
@Getter
public class BasicProperties {

    /**
     * basic的token在header中key
     */
    private String headerName = "BASIC_TOKEN";
    /**
     * 是否启用全局basic
     */
    private boolean  enabled = false;
    /**
     * basic认证的用户名
     */
    private String userName = "basic_name";
    /**
     * basic的认证密码
     */
    private String password = "basic_password";

}
